package com.example.demo.domain;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by fandg on 2020/3/31.
 */
public class Order implements Serializable{

    private int id;

    private String name;

    private BigDecimal price;

    private String desc;

    public Order() {
    }

    public Order(int id, String name, BigDecimal price, String desc) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.desc = desc;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
